#include "mainwindow.h"
#include <QApplication>
#include <QMediaPlayer>
#include <QGraphicsVideoItem>
#include <QGraphicsView>
#include <QGraphicsScene>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    MainWindow w;
    w.show();

//    QGraphicsScene scene;
//    QGraphicsView view(&scene);
//    QGraphicsVideoItem item;
//    scene.addItem(&item);
//    item.setSize(QSizeF(1280, 800));
//    QMediaPlayer player;
//    player.setVideoOutput(&item);
//    player.setMedia(QUrl::fromLocalFile(R"(D:\Desktop\myVideo\1.m4v)"));
//    player.play();
//    view.show();
    return a.exec();
}
